package com.elai.tags.domain;

import java.util.Date;

import com.elai.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.elai.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 标签任务调度记录对象 base_user_tags_level_task_detail
 * 
 * @author elai
 * @date 2021-08-26
 */
public class BaseUserTagsLevelTaskDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 分组ID */
    @Excel(name = "分组ID")
    private Long tagsId;

    /** 标签编号 */
    @Excel(name = "标签编号")
    private String tagsCode;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String tagsName;

    /** 分级数 */
    @Excel(name = "分级数")
    private Integer tagsLevel;

    /** 分级名称 */
    @Excel(name = "分级名称")
    private String levelName;

    /** 执行批次 */
    @Excel(name = "执行批次")
    private String batchNo;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskTime;

    /** 执行状态 */
    @Excel(name = "执行状态")
    private String taskStatus;

    /** 执行数量 */
    @Excel(name = "执行数量")
    private Integer resultNum;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resultTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTagsId(Long tagsId) 
    {
        this.tagsId = tagsId;
    }

    public Long getTagsId() 
    {
        return tagsId;
    }
    public void setTagsCode(String tagsCode) 
    {
        this.tagsCode = tagsCode;
    }

    public String getTagsCode() 
    {
        return tagsCode;
    }
    public void setTagsName(String tagsName) 
    {
        this.tagsName = tagsName;
    }

    public String getTagsName() 
    {
        return tagsName;
    }
    public void setTagsLevel(Integer tagsLevel) 
    {
        this.tagsLevel = tagsLevel;
    }

    public Integer getTagsLevel() 
    {
        return tagsLevel;
    }
    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }
    public void setTaskTime(Date taskTime) 
    {
        this.taskTime = taskTime;
    }

    public Date getTaskTime() 
    {
        return taskTime;
    }
    public void setTaskStatus(String taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus() 
    {
        return taskStatus;
    }
    public void setResultNum(Integer resultNum) 
    {
        this.resultNum = resultNum;
    }

    public Integer getResultNum() 
    {
        return resultNum;
    }
    public void setResultTime(Date resultTime) 
    {
        this.resultTime = resultTime;
    }

    public Date getResultTime() 
    {
        return resultTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tagsId", getTagsId())
            .append("tagsCode", getTagsCode())
            .append("tagsName", getTagsName())
            .append("tagsLevel", getTagsLevel())
            .append("levelName", getLevelName())
            .append("batchNo", getBatchNo())
            .append("taskTime", getTaskTime())
            .append("taskStatus", getTaskStatus())
            .append("resultNum", getResultNum())
            .append("resultTime", getResultTime())
            .toString();
    }
}
